package com.garen.fire.entity;

import javax.persistence.*;


@Table(name="fire_car_gps")
public class FireCarGps {
	
	
	@Column(name = "car_id",insertable=false)
	private Integer carId;
	
	@Column(name = "car_name",insertable=false)
	private String carName;
	 
	@Column(name = "car_status",insertable=false)
	private String car_status;
	@Column(name = "type_name",insertable=false)
	private String type_name;
	@Column(name = "car_num",insertable=false)
	private String car_num;
	
 

	public String getType_name() {
		return type_name;
	}

	public void setType_name(String type_name) {
		this.type_name = type_name;
	}

	public String getCar_num() {
		return car_num;
	}

	public void setCar_num(String car_num) {
		this.car_num = car_num;
	}

	/**
	*
	*/
	@Column(name = "date_time")
	private String dateTime;

	/**
	*
	*/
	@Column(name = "device_id")
	private String carDeviceId;

	/**
	*方向
	*/
	@Column(name = "direction")
	private Integer direction;

	/**
	*主键
	*/
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "gps_id",nullable=false)
	private Long gpsId;

	/**
	*海拔
	*/
	@Column(name = "alt")
	private Double alt;

	/**
	*
	*/
	@Column(name = "create_time")
	@com.alibaba.fastjson.annotation.JSONField(format="yyyy-MM-dd hh:mm:ss")
	private java.util.Date createTime;

	/**
	*经度
	*/
	@Column(name = "lon")
	private Double lon;
	/**
	 *经度
	 */
	@Column(name = "status_type" ,insertable=false)
	private String status_type;

	/**
	*纬度
	*/
	@Column(name = "lat")
	private Double lat;

	/**
	*车速
	*/
	@Column(name = "speed")
	private Double speed;

	/**
	*
	*/
	@Column(name = "app_key")
	private String appKey;

	/**
	*
	*/
	@Column(name = "sign")
	private String sign;

	/**
	*
	*/
	@Column(name = "status")
	private Integer status;

	/**
	*
	*/
	@Column(name = "timestamp")
	private String timestamp;



	public String getDateTime() {
		return dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime=dateTime;
	}

	public String getCarDeviceId() {
		return carDeviceId;
	}

	public void setCarDeviceId(String carDeviceId) {
		this.carDeviceId=carDeviceId;
	}

	public Integer getDirection() {
		return direction;
	}

	public void setDirection(Integer direction) {
		this.direction=direction;
	}

	public Long getGpsId() {
		return gpsId;
	}

	public void setGpsId(Long gpsId) {
		this.gpsId=gpsId;
	}

	public Double getAlt() {
		return alt;
	}

	public void setAlt(Double alt) {
		this.alt=alt;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	
	public String getStatus_type() {
		return status_type;
	}

	public void setStatus_type(String status_type) {
		this.status_type = status_type;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime=createTime;
	}

	public Double getLon() {
		return lon;
	}

	public void setLon(Double lon) {
		this.lon=lon;
	}

	public String getCar_status() {
		return car_status;
	}

	public void setCar_status(String car_status) {
		this.car_status = car_status;
	}

	public Double getLat() {
		return lat;
	}

	public void setLat(Double lat) {
		this.lat=lat;
	}

	public Double getSpeed() {
		return speed;
	}

	public void setSpeed(Double speed) {
		this.speed=speed;
	}

	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey=appKey;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign=sign;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status=status;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(String timestamp) {
		this.timestamp=timestamp;
	}

	public Integer getCarId() {
		return carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

}
